package com.ama;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication//说明是一个springboot的业务程序
@MapperScan(basePackages = "com.ama.dao")//mybatis扫描的映射包 dao
@EnableTransactionManagement//开启事务支持
public class PmsApplication {
    public static void main(String[] args) {
        SpringApplication.run(PmsApplication.class, args);
    }
}
